3.5.25 \(\int \frac {a+b \log (c (d+\frac {e}{\sqrt {x}})^n)}{x} \, dx\) [425]

Optimal. Leaf size=51 \[ -2 \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right ) \log \left (-\frac {e}{d \sqrt {x}}\right )-2 b n \text {Li}_2\left (1+\frac {e}{d \sqrt {x}}\right ) \]

[Out]

-2*(a+b*ln(c*(d+e/x^(1/2))^n))*ln(-e/d/x^(1/2))-2*b*n*polylog(2,1+e/d/x^(1/2))

________________________________________________________________________________________

Rubi [A]
time = 0.03, antiderivative size = 51, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.136, Rules used = {2504, 2441, 2352} \begin {gather*} -2 b n \text {PolyLog}\left (2,\frac {e}{d \sqrt {x}}+1\right )-2 \log \left (-\frac {e}{d \sqrt {x}}\right ) \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right ) \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(a + b*Log[c*(d + e/Sqrt[x])^n])/x,x]

[Out]

-2*(a + b*Log[c*(d + e/Sqrt[x])^n])*Log[-(e/(d*Sqrt[x]))] - 2*b*n*PolyLog[2, 1 + e/(d*Sqrt[x])]

Rule 2352

Int[Log[(c_.)*(x_)]/((d_) + (e_.)*(x_)), x_Symbol] :> Simp[(-e^(-1))*PolyLog[2, 1 - c*x], x] /; FreeQ[{c, d, e
}, x] && EqQ[e + c*d, 0]

Rule 2441

Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_))^(n_.)]*(b_.))/((f_.) + (g_.)*(x_)), x_Symbol] :> Simp[Log[e*((f + g
*x)/(e*f - d*g))]*((a + b*Log[c*(d + e*x)^n])/g), x] - Dist[b*e*(n/g), Int[Log[(e*(f + g*x))/(e*f - d*g)]/(d +
 e*x), x], x] /; FreeQ[{a, b, c, d, e, f, g, n}, x] && NeQ[e*f - d*g, 0]

Rule 2504

Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_)^(n_))^(p_.)]*(b_.))^(q_.)*(x_)^(m_.), x_Symbol] :> Dist[1/n, Subst[I
nt[x^(Simplify[(m + 1)/n] - 1)*(a + b*Log[c*(d + e*x)^p])^q, x], x, x^n], x] /; FreeQ[{a, b, c, d, e, m, n, p,
 q}, x] && IntegerQ[Simplify[(m + 1)/n]] && (GtQ[(m + 1)/n, 0] || IGtQ[q, 0]) &&  !(EqQ[q, 1] && ILtQ[n, 0] &&
 IGtQ[m, 0])

Rubi steps

\begin {align*} \int \frac {a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )}{x} \, dx &=-\left (2 \text {Subst}\left (\int \frac {a+b \log \left (c (d+e x)^n\right )}{x} \, dx,x,\frac {1}{\sqrt {x}}\right )\right )\\ &=-2 \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right ) \log \left (-\frac {e}{d \sqrt {x}}\right )+(2 b e n) \text {Subst}\left (\int \frac {\log \left (-\frac {e x}{d}\right )}{d+e x} \, dx,x,\frac {1}{\sqrt {x}}\right )\\ &=-2 \left (a+b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right )\right ) \log \left (-\frac {e}{d \sqrt {x}}\right )-2 b n \text {Li}_2\left (1+\frac {e}{d \sqrt {x}}\right )\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.00, size = 53, normalized size = 1.04 \begin {gather*} -2 b \log \left (c \left (d+\frac {e}{\sqrt {x}}\right )^n\right ) \log \left (-\frac {e}{d \sqrt {x}}\right )+a \log (x)-2 b n \text {Li}_2\left (\frac {d+\frac {e}{\sqrt {x}}}{d}\right ) \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(a + b*Log[c*(d + e/Sqrt[x])^n])/x,x]

[Out]

-2*b*Log[c*(d + e/Sqrt[x])^n]*Log[-(e/(d*Sqrt[x]))] + a*Log[x] - 2*b*n*PolyLog[2, (d + e/Sqrt[x])/d]

________________________________________________________________________________________

Maple [F]
time = 0.03, size = 0, normalized size = 0.00 \[\int \frac {a +b \ln \left (c \left (d +\frac {e}{\sqrt {x}}\right )^{n}\right )}{x}\, dx\]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a+b*ln(c*(d+e/x^(1/2))^n))/x,x)

[Out]

int((a+b*ln(c*(d+e/x^(1/2))^n))/x,x)

________________________________________________________________________________________

Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 127 vs. \(2 (47) = 94\).
time = 0.69, size = 127, normalized size = 2.49 \begin {gather*} -2 \, {\left (\log \left (d e^{\left (\frac {1}{2} \, \log \left (x\right ) - 1\right )} + 1\right ) \log \left (\sqrt {x}\right ) + {\rm Li}_2\left (-d e^{\left (\frac {1}{2} \, \log \left (x\right ) - 1\right )}\right )\right )} b n + \frac {1}{4} \, {\left (4 \, b n e \log \left (d \sqrt {x} + e\right ) \log \left (x\right ) + b n e \log \left (x\right )^{2} + 4 \, b d n \sqrt {x} \log \left (x\right ) - 4 \, b e \log \left (x\right ) \log \left (x^{\frac {1}{2} \, n}\right ) - 8 \, b d n \sqrt {x} + 4 \, {\left (b \log \left (c\right ) + a\right )} e \log \left (x\right ) - \frac {4 \, {\left (b d n x \log \left (x\right ) - 2 \, b d n x\right )}}{\sqrt {x}}\right )} e^{\left (-1\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*log(c*(d+e/x^(1/2))^n))/x,x, algorithm="maxima")

[Out]

-2*(log(d*e^(1/2*log(x) - 1) + 1)*log(sqrt(x)) + dilog(-d*e^(1/2*log(x) - 1)))*b*n + 1/4*(4*b*n*e*log(d*sqrt(x
) + e)*log(x) + b*n*e*log(x)^2 + 4*b*d*n*sqrt(x)*log(x) - 4*b*e*log(x)*log(x^(1/2*n)) - 8*b*d*n*sqrt(x) + 4*(b
*log(c) + a)*e*log(x) - 4*(b*d*n*x*log(x) - 2*b*d*n*x)/sqrt(x))*e^(-1)

________________________________________________________________________________________

Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*log(c*(d+e/x^(1/2))^n))/x,x, algorithm="fricas")

[Out]

integral((b*log(c*((d*x + sqrt(x)*e)/x)^n) + a)/x, x)

________________________________________________________________________________________

Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {a + b \log {\left (c \left (d + \frac {e}{\sqrt {x}}\right )^{n} \right )}}{x}\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*ln(c*(d+e/x**(1/2))**n))/x,x)

[Out]

Integral((a + b*log(c*(d + e/sqrt(x))**n))/x, x)

________________________________________________________________________________________

Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*log(c*(d+e/x^(1/2))^n))/x,x, algorithm="giac")

[Out]

integrate((b*log(c*(d + e/sqrt(x))^n) + a)/x, x)

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int \frac {a+b\,\ln \left (c\,{\left (d+\frac {e}{\sqrt {x}}\right )}^n\right )}{x} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a + b*log(c*(d + e/x^(1/2))^n))/x,x)

[Out]

int((a + b*log(c*(d + e/x^(1/2))^n))/x, x)

________________________________________________________________________________________